﻿using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace MathTutorPro.Data.Entities
{
    public class ClassDetail
    {
        public int Id { get; set; }

        public int ClassId { get; set; }
        // 关联到AspNetUsers表的Id
        public string UserId { get; set; }

        // 导航属性
        //public virtual Class Class { get; set; }
        
        public virtual AppUser User { get; set; }
    }
}
